/*
 * @Date: 2024-07-02 09:36:18
 * @LastEditors: wkl
 * @LastEditTime: 2024-07-02 10:22:15
 * @FilePath: /keep-nest/ecosystem.config.js
 */
module.exports = {
  apps: [
    {
      name: 'nest-qx-app',
      script: './dist/main.js',
      instances: 1,
      exec_mode: 'cluster',
      watch: true,
      autorestart: true,
      max_memory_restart: '1G',
      env: {
        NODE_ENV: 'development',
      },
      env_production: {
        NODE_ENV: 'production',
      },
    },
  ],
};
